﻿CREATE TABLE [dbo].[SIUserAnswer] (
    [Id]       INT           IDENTITY (1, 1) NOT NULL,
    [PaperId]  INT           NULL,
    [Question] NVARCHAR (50) NULL,
    [Answer]   NVARCHAR (50) NULL,
    [AddDt]    DATETIME      DEFAULT (getdate()) NULL,
    CONSTRAINT [PK_SIUserAnswer] PRIMARY KEY CLUSTERED ([Id] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'用户评价答案', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'SIUserAnswer';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'主键', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'SIUserAnswer', @level2type = N'COLUMN', @level2name = N'Id';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'试卷Id', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'SIUserAnswer', @level2type = N'COLUMN', @level2name = N'PaperId';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'问题', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'SIUserAnswer', @level2type = N'COLUMN', @level2name = N'Question';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'答案', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'SIUserAnswer', @level2type = N'COLUMN', @level2name = N'Answer';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'提交时间', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'SIUserAnswer', @level2type = N'COLUMN', @level2name = N'AddDt';

